<?php

/**
 * +----------------------------------------------------------------------
 * | Copyright © Sogu Technologies Co. Ltd 2018-2050 All rights reserved.
 * +----------------------------------------------------------------------
 * | File name: BaseController.php
 * +----------------------------------------------------------------------
 * | Author: lijiafei
 * +----------------------------------------------------------------------
 * | Description:
 * +----------------------------------------------------------------------
 * | Others: 其他内容的说明
 * +----------------------------------------------------------------------
 * | History:
 * +----------------------------------------------------------------------
 * | 1.Date: 2019/3/1 Author: lijiafei Modification: 创建
 * +----------------------------------------------------------------------
 */
namespace App\Http\Controllers\Collection;

use App\Http\Controllers\Controller;
use App\Http\Requests\Collection\BaseRequest;
use App\Library\ArrayTools\ArrayTools;
use App\Models\CollectionApiRequest;
use App\Models\RepayRecord;
use App\Models\RepaySummary;

class BaseController extends Controller
{

    public $pubData;

    public function __construct(BaseRequest $request)
    {
        $this->middleware('checkjiefei');
        if (isset($request->all()['content'])) {
            $this->pubData = json_decode($request->all()['content'], 1);
        } else {
            $this->pubData = [];
        }
    }
}